package com.akkainaction.helloactor.life;

import akka.actor.ActorRef;
import akka.actor.ActorSystem;
import akka.actor.Props;
import com.akkainaction.helloactor.life.actor.WorkerActor;

public class TestSystemStopActor {

    public static void main(String[] args) {
        ActorSystem system = ActorSystem.create("sys");
        ActorRef workerActor = system.actorOf(Props.create(WorkerActor.class), "workerActor");
        system.stop(workerActor);
    }
}
